﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/SiteIntranet.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    BuscarEdificio
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <link href="<%: Url.Content("~/Content/jquery-ui.css") %>" rel="stylesheet" type="text/css" />   
    <link href="<%: Url.Content("~/Content/jPages.css") %>" rel="stylesheet" type="text/css" />     
    <script src="<%: Url.Content("~/Scripts/jPages.js") %>" type="text/javascript"></script>
    <script src="<%: Url.Content("~/Scripts/Validaciones.js") %>" type="text/javascript"></script>    
    <script src="<%: Url.Content("~/Scripts/Edificio.js") %>" type="text/javascript"></script>    

    <div id="Buscar">

    <h2>Búsqueda Edificio</h2>
    <br />

    <label>Nombre:</label>
    <input type="text" id="BscTbxNombre" class="text ui-widget-content ui-corner-all" maxlength="50"/><br></br>
                               
    <label>Departamento:</label>
    <select id="BscSctDepartamento" onchange="cargarProvinciasBuscar()" class="text ui-widget-content ui-corner-all"></select><br></br>

    <label>Provincia:</label>
    <select id="BscSctProvincia" onchange="cargarDistritosBuscar()" class="text ui-widget-content ui-corner-all"></select><br></br>

    <label>Distrito:</label>
    <select id="BscSctDistrito" class="text ui-widget-content ui-corner-all"></select><br></br>
         
    <label>Dirección:</label>
    <input type="text" id="BscTbxDireccion" class="text ui-widget-content ui-corner-all" maxlength ="50"/><br></br>

    <label>Teléfono:</label>
    <input type="text" id="BscTbxTelefono" class="text ui-widget-content ui-corner-all" maxlength ="16"/><br></br>

    <label>Contometro:</label>
    <input name="BscRbnContometro" type="radio" value="1" style="width:auto;" class="text ui-widget-content ui-corner-all"/><label style="width:10px; text-align:left">Si</label>
    <input name="BscRbnContometro" type="radio" value="2" style="width:auto;" class="text ui-widget-content ui-corner-all"/><label style="width:10px; text-align:left">No</label><br></br>

    <label>Prorráteo Agua:</label>
    <input name="BscRbnProrrateo" type="radio" value="Area" style="width:auto;" class="text ui-widget-content ui-corner-all"/><label style="width:10px; text-align:left">Área</label>
    <input name="BscRbnProrrateo" type="radio" value="Persona" style="width:50px;" class="text ui-widget-content ui-corner-all"/><label style="width:10px; text-align:left">Persona</label><br></br>

    <label>Prorráteo Cuota:</label>
    <input name="BscRbnProrrateoCuota" type="radio" value="1" style="width:auto;" class="text ui-widget-content ui-corner-all"/><label style="width:10px; text-align:left">Única</label>
    <input name="BscRbnProrrateoCuota" type="radio" value="2" style="width:50px;" class="text ui-widget-content ui-corner-all"/><label style="width:71px; text-align:left">Por Área</label><br></br>

    <label>Banco:</label>
    <select id="BscSctBanco" class="text ui-widget-content ui-corner-all"></select><br></br>

    <label for="Cuenta">Cuenta:</label>
    <input type="text" id="BscTbxCuenta" class="text ui-widget-content ui-corner-all" maxlength="18"/><br></br>

    <input type="submit" id = "BscBtnBuscar" value="Buscar" class="submit-button" />
    <input type="submit" id = "BscBtnCancelar" value="Cancelar" class="submit-button" />    
    <input type="submit" onclick="refrescar()" id = "BscBtnLimpiar" value="Limpiar" class="submit-button" /><br></br>
</div>

<div class="box-3">
<div id = "tablaDinamica">
     
</div>
<center>
<div class="holder" id="holder"></div>
</center>

<div id="Modificar">
<input id="BscBtnModificar" type="submit" value="Modificar"/>
</div>

<div id="Eliminar">
<input id="BscBtnEliminar" type="submit" value="Eliminar"/>
</div>


<div id="Registrar"></div>
</div>
<div id="dialog-form" title="Modificar Edificio">
    <p class = "validateTips">Modifique los campos que crea necesarios</p>

    <fieldset>
     
    <label>Nombre: (*)</label>
    <input type="text" id="ModTbxNombre" class="text ui-widget-content ui-corner-all" maxlength ="50"/>
    <label id="ModLblErrorNombre" class="erroresClase" style="color: Red"></label>
    <br></br>

    <label>Departamento: (*)</label>
    <select id="ModSctDepartamento" onchange="cargarProvinciasModificar()" class="text ui-widget-content ui-corner-all"></select>
    <br></br>

    <label>Provincia: (*)</label>
    <select id="ModSctProvincia" onchange="cargarDistritosModificar()" class="text ui-widget-content ui-corner-all"></select>
    <br></br>

    <label>Distrito: (*)</label>
    <select id="ModSctDistrito" class="text ui-widget-content ui-corner-all"></select>
    <br></br>
         
    <label>Dirección: (*)</label>
    <input type="text" id="ModTbxDireccion" class="text ui-widget-content ui-corner-all" maxlength ="50"/>
    <label id="ModLblErrorDireccion" class="erroresClase" style="color: Red"></label>
    <br></br>

    <label>Teléfono:</label>
    <input type="text" id="ModTbxTelefono" class="text ui-widget-content ui-corner-all" maxlength ="16"/>
    <label id="ModLblErrorTelefono" class="erroresClase" style="color: Red"></label>
    <br></br>

    <label>Contometro: (*)</label>
    <input name="ModRbnContometro" type="radio" value="1" style="width:auto;" class="text ui-widget-content ui-corner-all"/><label style="width:10px; text-align:left">Si</label>
    <input name="ModRbnContometro" type="radio" value="2" style="width:auto;" class="text ui-widget-content ui-corner-all"/><label style="width:260px; text-align:left">No</label>
    <br></br>

    <label>Prorráteo Agua: (*)</label>
    <input name="ModRbnProrrateo" type="radio" value="Area" style="width:auto;" class="text ui-widget-content ui-corner-all"/><label style="width:10px; text-align:left">Área</label>
    <input name="ModRbnProrrateo" type="radio" value="Persona" style="width:50px;" class="text ui-widget-content ui-corner-all"/><label style="width:225px; text-align:left">Persona</label>
    <br></br>

    <label>Prorrateo Cuota: (*)</label>
    <input name="ModRbnProrrateoCuota" type="radio" value="1" style="width:auto;" class="text ui-widget-content ui-corner-all"/><label style="width:10px; text-align:left">Única</label>
    <input name="ModRbnProrrateoCuota" type="radio" value="2" style="width:50px;" class="text ui-widget-content ui-corner-all"/><label style="width:225px; text-align:left">Por Área</label>
    <br></br>

    <label>Monto Cuota: (*)</label>
    <input type="text" id="ModTbxMontoCuota" class="text ui-widget-content ui-corner-all" maxlength="7"/>
    <label id="ModLblErrorMontoCuota" class="erroresClase" style="color: Red"></label>
    <br></br>

    <label>N° Pisos: (*)</label>
    <input type="text" id="ModTbxPiso" class="text ui-widget-content ui-corner-all" maxlength="3"/>
    <label id="ModLblErrorPiso" class="erroresClase" style="color: Red"></label>
    <br></br>

    <label>N° Sotanos: (*)</label>
    <input type="text" id="ModTbxSotano" class="text ui-widget-content ui-corner-all" maxlength="3"/>
    <label id="ModLblErrorSotano" class="erroresClase" style="color: Red"></label>
    <br></br>

    <label>N° Cocheras: (*)</label>
    <input type="text" id="ModTbxNumCochera" class="text ui-widget-content ui-corner-all" maxlength ="18"/>
    <label id="ModLblErrorNumCochera" class="erroresClase" style="color: Red"></label>
    <br></br>

    <label>N° Depositos: (*)</label>
    <input type="text" id="ModTbxNumDeposito" class="text ui-widget-content ui-corner-all" maxlength ="18"/>
    <label id="ModLblErrorNumDeposito" class="erroresClase" style="color: Red"></label>
    <br></br>
    
    <label>Banco: (*)</label>
    <select id="ModSctBanco" class="text ui-widget-content ui-corner-all"></select>
    <br></br>

    <label>Cuenta: (*)</label>
    <input type="text" id="ModTbxCuenta" class="text ui-widget-content ui-corner-all" maxlength ="18"/>
    <label id="ModLblErrorCuenta" class="erroresClase" style="color: Red"></label>
    <br></br>    

    <label>Pago: (*)</label>
    <input type="text" id="ModTbxPago" class="text ui-widget-content ui-corner-all" maxlength ="18"/>
    <label id="ModLblErrorPago" class="erroresClase" style="color: Red"></label>
    <br></br>

    <input type="text" style="display:none" id="ModTbxIdEdificio" class="text ui-widget-content ui-corner-all" /><br></br>

    </fieldset>
</div>


</asp:Content>
